package com.dong.sso_auth.feign;

import com.dong.sso_common.beans.CommonResult;
import com.dong.sso_common.model.UmsMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "sso-login",path="/member/center")
public interface UmsMemberFeignService {

    @RequestMapping("/loadUmsMember")
    CommonResult<UmsMember> loadUserByUsername(@RequestParam("username") String username);
}